Skip to content

Add llmchess to the mods registry - #1130

Open
vipulgupta2048 wants to merge 2 commits into
mainfrom
add-llmchess-mod
Open

vipulgupta2048 wants to merge 2 commits into
mainfrom
add-llmchess-mod

Conversation

@vipulgupta2048

@vipulgupta2048 vipulgupta2048 commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Adds llmchess: play chess against your session's model, or a built-in engine, in a pane beside the prompt while the agent works.

cmd mods add cmd-mod-llmchess -g

Entry

  • name: llmchess, source and npm: cmd-mod-llmchess. Published as cmd-mod-llmchess@0.0.1 by vipulgupta2048; repo vipulgupta2048/token-chess, tag v0.0.1.
  • kinds: command (/chess), renderer (the board in the feed on hosts without panes), hook (onSessionStart to resume a saved game)
  • tags: game, chess, llm, pane

Review

Reviewed the published tarball cmd-mod-llmchess@0.0.1 (integrity sha512-tCrz/78hNPu+4gBhkcLp/Q7F1IvPMUTNVa6YXKxul3egdgJiQsLFc4RqWEOEwKk7cmGkEhqc5tl4F3xx3yJAiQ==, 17 files, no lifecycle scripts, no runtime dependencies), built from token-chess tag v0.0.1. cmd mods inspect on it reports: hooks onSessionStart; registers a slash command, feed renderer, event subscription and pane; reaches the filesystem; imports nothing. The mod also uses a pane, the Alt+C shortcut, the footer status and run_start/run_end events. The registry's kinds list has no values for those.

What it can reach:

  • Model: one cmd.model.complete call per LLM move on the session's model, with no tools and no transcript, billed like any session request.
  • Filesystem: reads and writes ~/.commandcode/llmchess/game.json to save the game.
  • Nothing else: no network of its own, no child processes, no shell. A grep for child_process, spawn, exec(, fetch(, http and process.env across index.ts and src/ finds nothing in the published package.

No runtime dependencies. pnpm test passes 107/107, and pnpm typecheck is clean.

Validation

  • mods/registry.schema.json (draft-07, ajv 8 with formats): OK.
  • parseModsRegistry from packages/studio/app/lib/mods-registry.ts in the monorepo parses the updated file: 35 mods, no duplicate names, and llmchess resolves to cmd-mod-llmchess for both source and npm.
  • The diff only appends this one entry. All other rows are untouched.

Copilot AI balanced review requested due to automatic review settings November 10, 2026 15:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the llmchess registry addition.

No open issues 🎉

What changed in this PR

Adds llmchess to the mods registry so users can discover and install a chess mod that supports playing against their session’s model or a built-in engine.

Changes:

  • Registers llmchess with its GitHub source, author, and repository link.
  • Includes command, renderer, and hook classifications, discovery tags, and an addition date.
  • Leaves existing registry entries unchanged.
File Description
mods/​registry.json Appends the llmchess registry entry and its metadata.

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants